<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

// ++++++++++++++++++++ 登录相关 ++++++++++++++++++++ //
Route::group('auth',[
    'login' => ['api/Auth/login',['method'=>'post']]
]);

// ++++++++++++++++++++ 设置相关 ++++++++++++++++++++ //
Route::group('setting',[
    'addmember' => ['api/Setting/addmember',['method'=>'post']]
]);


// ++++++++++++++++++++ 收银相关 ++++++++++++++++++++ //
Route::group('cashregister',[
    'do' => ['api/Cashregister/index',['method'=>'post']]
]);


// ++++++++++++++++++++ 订货相关 ++++++++++++++++++++ //
Route::group('requiregoods',[
    'add' => ['api/Requiregoods/add',['method'=>'post']]
]);

// ++++++++++++++++++++ 商品相关 ++++++++++++++++++++ //
Route::group('product',[
    'category' => ['api/Product/getCategory',['method'=>'post']],
    'product_list' => ['api/Product/getList',['method'=>'post']]
]);





